﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace umbraco.blog4
{
    /// <summary>
    /// Blog Context object
    /// </summary>
    /// <remarks>
    /// This class is designed to act as a Linq Data Context 
    /// It is essentially a wrapper for relevant BlogLibrary methods
    /// </remarks>
    public class BlogContext
    {
        public BlogContext() { }

        public IEnumerable<Blog> UserBlogs
        {
            get
            {
                return BlogLibrary.GetBlogsForCurrentUser();
            }
        }
    }
}